package model

import "gorm.io/gorm"

type TokenCost struct {
	gorm.Model
	EventID    uint   `gorm:"index"`
	AccountID  uint64 `gorm:"index"`
	ActionType int32  `gorm:"index"`
	Action     string `gorm:"index"`
	ModelType  int32  `gorm:"index"`
	ModelName  string `gorm:"index"`
	Token      int32
}

func (TokenCost) TableName() string {
	return "token_cost"
}
